package Controlador;

import java.util.List;

import Modelo.Entidad.Cliente;

public class GestorCliente {
	
	private static GestorCliente INSTANCE = null;

    private GestorCliente() {
    }

    private synchronized static void createInstance() {
        if (INSTANCE == null) {
            INSTANCE = new GestorCliente();
        }
    }

    public static GestorCliente getInstance() {
        if (INSTANCE == null) {
            createInstance();
        }
        return (GestorCliente) INSTANCE;
    }

    public void guardarCliente(Cliente c) {
        //ClienteDAO.getInstance().persist(c);
    }

    public void actualizarCliente(Cliente c) {
        //ClienteDAO.getInstance().update(c);
    }


    public void eliminarCliente(Cliente c) {
        //ClienteDAO.getInstance().remove(c);
    }

    public Cliente findById(Long id) {
		return null;
        //return ClienteDAO.getInstance().findById(id);
    }

    public List<Cliente> findAll() {
        //return ClienteDAO.getInstance().findAll();
    	return null;
    }


}
